package com.tre.jdevtemplateboot.domain.po;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 熊一鸣
 * @since 2023-11-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SpAppMst implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;

    private String name;

    private String appKey;

    private String url;

    private String photo;

    private Integer orderId;

    private String groupId;

    private String groupName;

    private String companyId;

    /**
     * 正则CHECK约束符合IPv4地址格式的文本
     */
    private String ip;

    private Integer type;

    private String httpUrl;

    private Integer identifying;

    private Integer customRole;

    private String ossType;

    private String organizeUrl;

    private LocalDateTime createDate;

    private String createPerson;

    private LocalDateTime editDate;

    private String editPerson;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }
    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getHttpUrl() {
        return httpUrl;
    }

    public void setHttpUrl(String httpUrl) {
        this.httpUrl = httpUrl;
    }
    public Integer getIdentifying() {
        return identifying;
    }

    public void setIdentifying(Integer identifying) {
        this.identifying = identifying;
    }
    public Integer getCustomRole() {
        return customRole;
    }

    public void setCustomRole(Integer customRole) {
        this.customRole = customRole;
    }
    public String getOssType() {
        return ossType;
    }

    public void setOssType(String ossType) {
        this.ossType = ossType;
    }
    public String getOrganizeUrl() {
        return organizeUrl;
    }

    public void setOrganizeUrl(String organizeUrl) {
        this.organizeUrl = organizeUrl;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }
    public LocalDateTime getEditDate() {
        return editDate;
    }

    public void setEditDate(LocalDateTime editDate) {
        this.editDate = editDate;
    }
    public String getEditPerson() {
        return editPerson;
    }

    public void setEditPerson(String editPerson) {
        this.editPerson = editPerson;
    }

    @Override
    public String toString() {
        return "SpAppMst{" +
            "id=" + id +
            ", name=" + name +
            ", appKey=" + appKey +
            ", url=" + url +
            ", photo=" + photo +
            ", orderId=" + orderId +
            ", groupId=" + groupId +
            ", groupName=" + groupName +
            ", companyId=" + companyId +
            ", ip=" + ip +
            ", type=" + type +
            ", httpUrl=" + httpUrl +
            ", identifying=" + identifying +
            ", customRole=" + customRole +
            ", ossType=" + ossType +
            ", organizeUrl=" + organizeUrl +
            ", createDate=" + createDate +
            ", createPerson=" + createPerson +
            ", editDate=" + editDate +
            ", editPerson=" + editPerson +
        "}";
    }
}
